package org.jeecg.modules.contract.review.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.common.aspect.annotation.AutoRecordLog;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 评审表产品包材信息
 * @Author: jeecg-boot
 * @Date:   2024-06-03
 * @Version: V1.0
 */
@Data
@TableName("buss_contract_requirement_review_goodspackage")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="buss_contract_requirement_review_goodspackage对象", description="评审表产品包材信息")
@AutoRecordLog(value = 1,existParent = true,parentFiled="reviewId",parentTable="buss_contract_requirement_review")
public class BussContractRequirementReviewGoodspackage implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**评审表id*/
	@Excel(name = "评审表id", width = 15)
    @ApiModelProperty(value = "评审表id")
    private String reviewId;
	/**产品id*/
	@Excel(name = "产品id", width = 15)
    @ApiModelProperty(value = "产品id")
    private String goodsId;
	/**包材id*/
	@Excel(name = "包材id", width = 15)
    @ApiModelProperty(value = "包材id")
    private String packageId;
	/**是否自带*/
	@Excel(name = "是否自带", width = 15)
    @ApiModelProperty(value = "是否自带")
    private String isBrought;
	/**损耗率(%)*/
	@Excel(name = "损耗率(%)", width = 15)
    @ApiModelProperty(value = "损耗率(%)")
    private String lossRate;
	/**包装要求*/
	@Excel(name = "包装要求", width = 15)
    @ApiModelProperty(value = "包装要求")
    private String requirements;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
    @JsonIgnore
    @ApiModelProperty(value = "日志时间")
    private String logtime;

    /**
     * 父类日志时间-方便历史搜索
     */
    @JsonIgnore
    @ApiModelProperty(value = "日志时间")
    private String parentLogtime;
}
